package br.org.etec.dotcao.model;

import java.util.List;

public interface Repository<T> {

	void insert(T element);

	void update(T element);

	void delete(T element);

	T get(Long code);

	List<T> all();
	
	void close();
	
}
